using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._TerrainDataset
{
    /// <summary>
    /// <para>Remove Terrain Points</para>
    /// <para>This tool removes points within an area of interest from one or more embedded feature classes.</para>
    /// <para>此工具可从一个或多个嵌入要素类中移除感兴趣区域内的点。</para>
    /// </summary>    
    [DisplayName("Remove Terrain Points")]
    public class RemoveTerrainPoints : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveTerrainPoints()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_terrain">
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to be modified</para>
        /// <para>要修改的 terrain 数据集</para>
        /// </param>
        /// <param name="_data_source">
        /// <para>Embedded Feature Class</para>
        /// <para>One or more embedded feature classes from which points will be removed</para>
        /// <para>要从中移除点的一个或多个嵌入要素类</para>
        /// </param>
        /// <param name="_aoi_extents">
        /// <para>Area of Interest</para>
        /// <para>The XY extent defining the area from which points will be removed</para>
        /// <para>定义将从中移除点的区域的 XY 范围</para>
        /// </param>
        public RemoveTerrainPoints(object _in_terrain, List<object> _data_source, object _aoi_extents)
        {
            this._in_terrain = _in_terrain;
            this._data_source = _data_source;
            this._aoi_extents = _aoi_extents;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Remove Terrain Points";

        public override string CallName => "3d.RemoveTerrainPoints";

        public override List<string> AcceptEnvironments => ["scratchWorkspace", "terrainMemoryUsage", "workspace"];

        public override object[] ParameterInfo => [_in_terrain, _data_source, _aoi_extents, _derived_out_terrain];

        /// <summary>
        /// <para>Input Terrain</para>
        /// <para>The terrain dataset to be modified</para>
        /// <para>要修改的 terrain 数据集</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_terrain { get; set; }


        /// <summary>
        /// <para>Embedded Feature Class</para>
        /// <para>One or more embedded feature classes from which points will be removed</para>
        /// <para>要从中移除点的一个或多个嵌入要素类</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Embedded Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _data_source { get; set; }


        /// <summary>
        /// <para>Area of Interest</para>
        /// <para>The XY extent defining the area from which points will be removed</para>
        /// <para>定义将从中移除点的区域的 XY 范围</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Area of Interest")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _aoi_extents { get; set; }


        /// <summary>
        /// <para>Output Terrain</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Terrain")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _derived_out_terrain { get; set; }


        public RemoveTerrainPoints SetEnv(object scratchWorkspace = null, object terrainMemoryUsage = null, object workspace = null)
        {
            base.SetEnv(scratchWorkspace: scratchWorkspace, terrainMemoryUsage: terrainMemoryUsage, workspace: workspace);
            return this;
        }

    }

}